Carbon


SndChannelStatus

Header: Sound.h Carbon status: Supported

Determines the status of a sound channel.

OSErr SndChannelStatus (
    SndChannelPtr chan, 
    SInt16 theLength, 
    SCStatusPtr theStatus
);
Parameter descriptions
chan

A pointer to a valid sound channel.

theLength

The size in bytes of the sound channel status structure. You should set this field to SizeOf(SCStatus).

theStatus

A pointer to a sound channel status structure, SCStatus.

function result

A result code.

DISCUSSION

If the SndChannelStatus function executes successfully, the fields of the structure specified by theStatus accurately describe the sound channel specified by chan.

SPECIAL CONSIDERATIONS

You can call the SndChannelStatus function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)